package com.ruoyi.wxdaiqu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.wxdaiqu.pojo.Helplist;
import com.ruoyi.wxcommon.common.Result;

/**
 * <p>
 * 帮助列表 服务类
 * </p>
 *
 * @author 凡哥哥
 * @since 2024-05-28
 */
public interface IHelplistService extends IService<Helplist> {

    Result addSubstitutionTask(Helplist helplist);

    Result getAreaId(String get, Integer pageIndex, Integer pageSize, Integer aId,Integer wxId,Integer id);

    Result jd(Integer id, String openId, String title, Integer jdId,Integer state);

    Result pay(String title, String openId, Double price);

    Result anlysisWxSm(Integer wxId, String yearMonth);

    Result confirm(Integer id);

    /**
     * 取消订单
     * @param oId 订单Id
     * @param state 订单状态
     * @return 返回值
     */
    Result updateState(Integer oId, Integer state);
}
